home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / flying-6.11 / pocket.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-30  |  334 b   |  25 lines

  1. #ifndef _pocket_h
  2. #define _pocket_h
  3.  
  4. #ifndef _ball_h
  5. #    include "ball.h"
  6. #endif
  7. #ifndef _keeper_h
  8. #    include "keeper.h"
  9. #endif
  10.  
  11.  
  12. class Pocket : public StaticArc {
  13.     public:
  14.         Pocket( double x, double y, double r=2. );
  15.         ~Pocket();
  16.  
  17.         void Info();
  18.         void CollideWithBall( Ball *b );
  19.  
  20.     protected:
  21.         Real HitFromBall( Ball *b );
  22. };
  23.  
  24. #endif
  25.